package studio.banner.reference.config.interceptor;

import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

@Configuration
public class WebMvcConfig implements WebMvcConfigurer {
   /* public void addInterceptors(InterceptorRegistry registry) {
        *//*文献操作权限*//*
        registry.addInterceptor(new DocumentInterceptor())
                .addPathPatterns("/reference/document/*")
                .excludePathPatterns("/reference/document/check", "/reference/document/import");

        *//*论文操作权限*//*
        registry.addInterceptor(new ThesisInterceptor())
                .addPathPatterns("/reference/thesis/*", "")
                .excludePathPatterns("/reference/thesis/create");

        *//*登陆即可*//*
        registry.addInterceptor(new LoginInterceptor())
                .addPathPatterns("", "", "");
    }*/
}
